﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PaperList.aspx.cs" Inherits="sysadmin_PaperManager_PaperList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>试卷成绩查询</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left" >
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text="试卷成绩查询"></asp:Label></td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
            <tr>
                <th>
                    <asp:Label ID="lbl_PaperName" runat="server" Text="试卷名称"></asp:Label></th>
                <td>
                    <asp:TextBox ID="txtPaperName" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" CssClass="inputBotton2" Text=" 搜 索 " OnClick="btnSearch_Click" /></td>
            </tr>
        </table>
        <asp:GridView ID="gvPaperList" runat="server" AutoGenerateColumns="False" OnRowCommand="gvPaperList_RowCommand"
            OnRowDataBound="gvPaperList_RowDataBound" GridLines="None" BorderWidth="0" CssClass="mainList">
            <Columns>
                <asp:BoundField DataField="PaperID" HeaderText="试卷编号" />
                <asp:BoundField DataField="PaperName" HeaderText="试卷名称" />
                <asp:BoundField DataField="PaperScore" HeaderText="试卷总分" />
                <asp:BoundField DataField="PaperTestTime" HeaderText="考试时长(单位:分钟)" />
                <asp:BoundField DataField="Usercount" HeaderText="测试人数" />
                <asp:BoundField DataField="passcount" HeaderText="通过人数" />
                <asp:TemplateField >
                    <ItemTemplate>
                    <asp:LinkButton ID="btn_view" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "PaperID") %>'
                            CommandName="btn_view">详情</asp:LinkButton>

                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <%=GetLanageValueByKey("NoContent_msg", PowerCreator.LMS.Language.LanagetItemType.Page)%>
            </EmptyDataTemplate>
        </asp:GridView>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourceKey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
